home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.mactech.com 2010
/
ftp.mactech.com.tar
/
ftp.mactech.com
/
machack
/
Hacks97
/
WarriorsProgress.sit
/
Warrior’s Progress
/
source code
/
Source
/
Libraries
/
Integers
/
MinMax.h
< prev
next >
Wrap
Text File
|
1997-06-28
|
253b
|
19 lines
// MinMax.h
#ifndef MinMax_h
#define MinMax_h
template < class Value >
inline Value Min( Value a, Value b )
{
return ( a <= b ) ? a : b;
}
template < class Value >
inline Value Max( Value a, Value b )
{
return ( a >= b ) ? a : b;
}
#endif